package com.world.common.domain;

import cn.hutool.http.HttpStatus;

/**
 * 响应成功
 *
 * @author WangYX
 * @version 1.0.0
 * @date 2023/08/29 10:47
 */
public class SuccessResponseData<T> extends ResponseData<T> {

    public SuccessResponseData() {
        super(HttpStatus.HTTP_OK, null, "成功");
    }

    public SuccessResponseData(T data) {
        super(HttpStatus.HTTP_OK, data, "成功");
    }

    public SuccessResponseData(T data, String msg) {
        super(HttpStatus.HTTP_OK, data, msg);
    }

}
